package cn.yueranzs.system.dto.department;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author yueranzs
 * @date 2021/12/15 21:21
 */
@Data
public class DeptChangeDto {

    @ApiModelProperty(value = "部门编号")
    private Long id;

    @ApiModelProperty(value = "部门名称")
    @NotBlank(message = "部门名称不能为空！")
    private String name;

    @ApiModelProperty(value = "系办公电话")
    @NotBlank(message = "系办公电话不能为空！")
    private String phone;

    @ApiModelProperty(value = "系办公地址")
    @NotBlank(message = "系办公地址不能为空！")
    private String address;

}
